<!DOCTYPE html>
<html>
<head>
    <title>显示用户当前位置</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"

</head>

<body style="width:100%;" onload="load()">


<h1 style="text-align:center">显示你的当前位置信息</h1>
<div id="container"
     style="
     margin-top: 30px;
     margin-left: auto;
     margin-right: auto;
     width: 1000px;
     height: 590px;
     top: 50px;
     border: 1px solid gray;
     overflow: hidden">
</div>

<script type="text/javascript" src="http://api.map.baidu.com/getscript?v=2.0&ak=7KfAhaUIGAyer869iBa7okBbeWvuP7t1"></script>
<script src="js/script.js"></script>
</body>
</html>